package com.demo.swingquickticket.entity;

import lombok.Data;
import org.apache.http.cookie.Cookie;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
public class Account implements Serializable {

    private String name;

    private List<Cookie> loginCookie;

    private Map<String, String> temp = new HashMap<>();

    public void clear() {
        name = null;
        loginCookie = null;
        temp.clear();
    }
}
